package java1223;

public class Java05 {
    public static void main(String[] args) {

        //java语言 循环语句 for while do while

        //12345678910
        //(1)for
        for (int i = 0; i < 10; i++) {
            System.out.println(i);
        }

        //()while
        int j =1;
        while (j<=10){
            System.out.println(j);
            j++;
        }

        //(3)do while
        int k = 1 ;
        do{
            System.out.println(k);
        }while (k<=10);






    }
}
